Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ (kubebuilder) new config image job for kube-rbac-proxy image #29351

Merged

Conversation

camilamacedo86
Copy link
Contributor

@camilamacedo86 camilamacedo86 commented Apr 22, 2023

Description

Creating a job to trigger the build of the image gcr.io/kubebuilder/kube-rbac-proxy in the new registry.
More info: kubernetes-sigs/kubebuilder#3362

Motivation: kubernetes-sigs/kubebuilder#3230

Closes: https://github.com/kubernetes/test-infra/pull/28803/files

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 22, 2023
@camilamacedo86
Copy link
Contributor Author

/assign @rikatz

@rikatz could you please give a hand here and let us know if this one is correct?

c/c @yashsingh74 @varshaprasad96

@camilamacedo86 camilamacedo86 changed the title ✨ Create job for kubebuilder kube-rbac-proxy image ✨ (kubebuilder) new config image job for kube-rbac-proxy image Apr 22, 2023
- --env-passthrough=PULL_BASE_REF
- --with-git-dir
- --gcb-config=build/cloudbuild_kube-rbac-proxy.yaml
- .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: instead of using --gcb-config here, probably you want to create a new directory in https://github.com/kubernetes-sigs/kubebuilder/tree/kube-rbac-proxy-releases with a proper cloudbuild, and point to that directory

eg.:

args:
....
  - images/

And add a new cloudbuild.yaml inside this directory (see https://github.com/kubernetes/ingress-nginx/blob/main/cloudbuild.yaml). In this case if you want to test different combinations of cloudbuild.yaml later you won't need to change the one that is already working.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I see it here: https://github.com/kubernetes-sigs/kubebuilder/pull/3362/files

let me continue the discussion there

Copy link
Contributor Author

@camilamacedo86 camilamacedo86 May 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, I understand that is right. Am I right?

See that I am doing like : https://github.com/kubernetes/test-infra/blob/3b85f96f30d6f1ce48639ccbdbde396cc3c8b183/config/jobs/image-pushing/k8s-staging-kustomize.yaml#LL28C1-L38C18

Note that for Kubebuilder, we do not use docker to build the image.

So, I understand that when we merge this one, we should see a new trigger created in the GCP, such as we have now:

Screenshot 2023-05-07 at 07 28 48

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for this suggestion, but not blocking
put a hold in case

@camilamacedo86
Copy link
Contributor Author

Hi @rikatz,

I did the changes could we get this one merged, and then we try it out to see if it will work?

Copy link
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 9, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder, camilamacedo86

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 9, 2023
@BenTheElder
Copy link
Member

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 9, 2023
@camilamacedo86
Copy link
Contributor Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 10, 2023
@k8s-ci-robot k8s-ci-robot merged commit e704693 into kubernetes:master May 10, 2023
@k8s-ci-robot
Copy link
Contributor

@camilamacedo86: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key k8s-staging-kubebuilder.yaml using file config/jobs/image-pushing/k8s-staging-kubebuilder.yaml

In response to this:

Description

Creating a job to trigger the build of the image gcr.io/kubebuilder/kube-rbac-proxy in the new registry.
More info: kubernetes-sigs/kubebuilder#3362

Motivation: kubernetes-sigs/kubebuilder#3230

Closes: https://github.com/kubernetes/test-infra/pull/28803/files

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants